package com.yanq.liancar.bean;
/*
 *  @创建者     Administrator
 *  @创建时间   2018/12/4  12:04
 *  @描述       ${TODO}
 */


public class Point {
    //属性
    private float x;
    private float y;
    private double d;

    //构造方法
    public Point(float x, float y)
    {
        this.x=x;
        this.y=y;
        this.d=x+y;
    }


    //成员方法
    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }




}
